home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C++ / Libraries / Two Way Notes / printMonster.cp < prev    next >
Encoding:
Text File  |  1994-04-24  |  1.1 KB  |  31 lines  |  [TEXT/KAHL]

  1. /********************************************************/
  2. /*                                                      */
  3. /*                 PrintMonster.cp                      */
  4. /*                 A test Routine for: Two_Way.cp       */
  5. /*                 Copyright 4/24/94 Hasan Edain        */
  6. /*                 All Reights Reserved Worldwide       */
  7. /*                                                      */
  8. /********************************************************/
  9.  
  10. //    Please feel free to modify and use this code for any purpose, as long as you
  11. // send me
  12. // a) source of the modified code.
  13. // b) licenced version of product the code is used in.
  14. // c) notes as to how the code could be made more usefull if you tried to use it, but
  15. // ended up not using it for any reason.
  16. // Hasan Edain
  17. // HasanEdain@AOL.com
  18. // box 667 Langley Wa 98260
  19. // fax: 206-579-6456
  20.  
  21. #include <stdio.h>
  22.  
  23. #include "monster.h"
  24.  
  25. void printMonster(monster *theMonster)
  26. {
  27. printf("%s: ",theMonster->name);
  28. printf("st = %d, ",theMonster->st);
  29. printf("in = %d, ",theMonster->in);
  30. printf("dx = %d\n",theMonster->dx);
  31. }